#include "Console_Logging.h"
#include <time.h>
#include <iostream>

using namespace std;

int Console_Logging::currentLevel;

Console_Logging::Console_Logging()
{
	currentLevel = DEFAULT;
}

void Console_Logging::output(string message, string level) 
{
	time_t currentRawTime;

	time(&currentRawTime);

	struct tm* timeInfo;

	timeInfo = localtime(&currentRawTime);

	cout << string(asctime(timeInfo)) + level + ": "<<endl;
	cout << message << endl;
}

